Elementor\Core\Utils\Collection B

Total Complexity 77
Dependencies 3
Dependents 33
Total lines 541
Lines of code 246
Logical lines of code 129
Comment lines 210
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
unique()
S
52 6 26
flatten()
S
59 5 15
get_item_value()
S
65 5 9
contains()
S
61 4 13
each()
S
67 3 8
some()
S
67 3 8
find()
S
67 3 8
map_with_keys()
S
64 3 10
first()
S
68 3 8
push()
S
71 2 6
merge()
S
70 2 6
filter()
S
70 2 6
reduce()
S
68 2 7
diff()
S
70 2 6
merge_recursive()
S
70 2 6
replace_recursive()
S
70 2 6
get()
S
71 2 6
sort_keys()
S
66 2 9
group_by()
S
66 2 8
pluck()
S
68 2 7
offsetSet()
S
69 2 7
offsetGet()
S
80 1 3
offsetUnset()
S
80 1 3
offsetExists()
S
79 1 3
getIterator()
S
80 1 3
count()
S
80 1 3
prepend()
S
75 1 4
map()
S
72 1 5
keys()
S
80 1 3
values()
S
80 1 3
all()
S
82 1 3
is_empty()
S
80 1 3
union()
S
79 1 3
make()
S
80 1 3
only()
S
73 1 5
except()
S
73 1 5
implode()
S
79 1 3
reverse()
S
80 1 3
__construct()
S
81 1 3